package com.guan.ioc.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Data
@Component
@ConfigurationProperties(prefix = "dbtypes")
public class Dbtypes {
    public List<String> name; // 对应配置项：dbtypes.name
    public Map<String, String> map; // 对应配置项：dbtypes.map
}
